
namespace ZR.Model.ProdManage
{
    /// <summary>
    /// 一级装箱明细
    /// </summary>
    [SugarTable("prod_one_pack_detail")]
    public class ProdOnePackDetail
    {
        /// <summary>
        /// 明细Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "detail_id")]
        public string DetailId { get; set; }

        /// <summary>
        /// 一级装箱id 
        /// </summary>
        [SugarColumn(ColumnName = "one_pack_id")]
        public string OnePackId { get; set; }

        /// <summary>
        /// 组织 
        /// </summary>
        [SugarColumn(ColumnName = "org_code")]
        public string OrgCode { get; set; }

        /// <summary>
        /// 物料 
        /// </summary>
        [SugarColumn(ColumnName = "part_code")]
        public string PartCode { get; set; }

        /// <summary>
        /// 供应商 
        /// </summary>
        [SugarColumn(ColumnName = "supplier_code")]
        public string SupplierCode { get; set; }

        /// <summary>
        /// 装箱数量 
        /// </summary>
        [SugarColumn(ColumnName = "pack_num")]
        public decimal? PackNum { get; set; }

        /// <summary>
        /// 装箱时间 
        /// </summary>
        [SugarColumn(ColumnName = "pack_time")]
        public DateTime? PackTime { get; set; }

        /// <summary>
        /// 装箱人 
        /// </summary>
        [SugarColumn(ColumnName = "pack_user_id")]
        public long? PackUserId { get; set; }

        /// <summary>
        /// 明细状态（0临时，1正常，9取消） 
        /// </summary>
        [SugarColumn(ColumnName = "item_status")]
        public string ItemStatus { get; set; }

    }
}